package com.forekonw.demo4;

import java.util.Scanner;

public class TestMethod6 {
    public static void asd(int[] array){
        for (int i = 0;i<array.length;i++){
            System.out.println(array[i]);
        }
    }
    public static void dsa(Scanner input){
        Scanner in = new Scanner(System.in);
        System.out.println("请输入用户名;");
        String name = in.next();
        System.out.println(name);
    }
    public static void main(String[] args) {
        int[] arr = new int[]{1,2,3,4,5,6,7,8,9,4};
        asd(arr);
       Scanner ii = new Scanner(System.in);
        dsa(ii);
    }
}
